#pragma once

class IClass {
public:
	IClass(){}
	~IClass(){}

public:
	virtual void DoWork() = 0;

public:
	virtual IClass* Clone() = 0;	//通过克隆自己来创建对象
};